package com.ruoyi.ro.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易所抢购对象 goods
 * 
 * @author shan
 * @date 2022-05-23
 */
public class goods
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称", type = Excel.Type.ALL)
    private String name;

    /** 物品类型 */
    @Excel(name = "物品类型", type = Excel.Type.ALL)
    private Integer type;

    /** 数量|等级 */
    @Excel(name = "数量|等级", type = Excel.Type.ALL)
    private Integer quantity;

    /** 搜索结果位置 */
    @Excel(name = "搜索结果位置", type = Excel.Type.ALL)
    private Integer pos;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setPos(Integer pos) 
    {
        this.pos = pos;
    }

    public Integer getPos() 
    {
        return pos;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("quantity", getQuantity())
            .append("pos", getPos())
            .toString();
    }
}
